package com.departmentstore.service;

import com.departmentstore.entity.Manufacturer;
import java.util.List;

public interface ManufacturerService {
    // 创建新制造商
    Manufacturer createManufacturer(Manufacturer manufacturer);
    
    // 更新制造商信息
    Manufacturer updateManufacturer(Manufacturer manufacturer);
    
    // 删除制造商
    void deleteManufacturer(String manufacturerId);
    
    // 根据ID获取制造商
    Manufacturer getManufacturerById(String manufacturerId);
    
    // 获取所有制造商
    List<Manufacturer> getAllManufacturers();
    
    // 根据名称查找制造商
    List<Manufacturer> getManufacturersByName(String name);
    
    // 根据地址查找制造商
    List<Manufacturer> getManufacturersByAddress(String address);
} 